package viz_ui;

// !!DEPRECATED!!

public class VizDisplayObject
{
  protected float x,y;
  protected float xSize, ySize;
  protected boolean visible = true;
  
  public VizDisplayObject(float xVal, float yVal)
  {
     x = xVal;
     y = yVal;
  }
  
  public VizDisplayObject(float xVal, float yVal, float w, float h)
  {
     x = xVal;
     y = yVal;
     xSize = w;
     ySize = h;
  }
  
  public void display() {} // overridden by subclasses
  
  public void setVisible(boolean val){
    visible = val;
  }
  public boolean getVisible(){
    return visible;
  }
  public float getX(){
    return x;
  }
  public float getY(){
    return y;
  }
  public void setX(float val){
    x = val;
  }
  public void setY(float val){
    y = val;
  }
}
